package com.hejjon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hejjon.core.domain.entity.FeaturePublishCategory;
import com.hejjon.domain.request.FeaturePublishCategoryRequest;
import com.hejjon.domain.vo.FeaturePublishCategoryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface FeaturePublishCategoryMapper extends BaseMapper<FeaturePublishCategory> {

    List<FeaturePublishCategoryVO> selectAllBy(FeaturePublishCategoryRequest request);

    List<FeaturePublishCategoryVO> selectChildsById(@Param("id") String id);

    Integer existChildsById(@Param("id") String id);



}
